package com.gitee.wsl.net.either.exception

/**
 * Represents a generic API error from a given endpoint.
 *
 * @see [ApiResult.Failure.ApiFailure] for full documentation for how this [error] property is used
 *   and its caveats.
 */
class ApiException(public val error: Any?) : Exception()